<template>
	<view class="empty-box" :style="{'padding-top':mTop}">
		<slot name="emptysrc">

		</slot>
		<view class="txt">{{title}}</view>
	</view>
</template>

<script>
	
	export default{
		props: {
			title: {
				type: String,
				default: '暂无记录',
			},
			mTop: {
				type: String,
				default: '50%',
			}
		},
		data(){
			return{
				urlDomain: this.$Cache.get("imgHost")
			}
		}
	}

</script>

<style lang="scss" scoped>
	.empty-box{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding-bottom: 60rpx;
		image{
			width: 414rpx;
			height: 305rpx;
		}
		.txt{
			font-size: 26rpx;
			color: #999;
		}
	}
</style>
